package com.lmy.springCloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 使用@EnableDiscoveryClient：将该服务注册到nacos注册中心
 */
@SpringBootApplication
@EnableDiscoveryClient  //启用Nacos服务发现注解
public class MemberNacosProviderApplication10090 {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(MemberNacosProviderApplication10090.class, args);
    }
}
